FROM node:15.0.1

RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >> /etc/timezone

WORKDIR /app

COPY package.json /app
COPY *.js /app/

RUN npm install


EXPOSE 8000

CMD [ "node", "index.js" ]

